package com.eb.utils;

import com.eb.domain.Innovation;

//帖子相关的工具类
public class InnovationUtil {
    //若帖子状态异常，使用该方法设置固定的标题与内容
    public static Innovation BanInnovation(Innovation innovation)
    {
        innovation.setTitle("已封禁的帖子");
        innovation.setContent("该贴因特殊原因已被封禁");
        innovation.setStatus(0);
        return innovation;
    }
}
